#ifndef _WDS_PICKUP_COLLECTION_H_
#define _WDS_PICKUP_COLLECTION_H_


#include "wds_pickup.h"

class WDSPickupCollection
{
public:

	

	WDSPickupCollection(WDSPickup::PICKUP_TYPES Type );
	~WDSPickupCollection();

	void							Render(const math::Vec2& Offset,float Scale);
	void							RenderShadow(const math::Vec2& Offset,float Scale);
	void							RenderDebug(const math::Vec2& Offset,float Scale);
	void							Tick(float dt);
	void							Clear();
	void							Spawn(WDSPickup::PICKUP_TYPES Type, const math::Vec2& P );
	WDSPickup::PICKUP_TYPES			GetType()const { return m_Type; };
	int								GetCount()const { return m_Pickups.size(); };
	WDSPickup*						GetPickupByIndex(int Index);
	WDSPickup::PICKUP_TYPES			HitTest(const math::Vec2& P, float Radius,  float Scale);
	


protected:

	WDSPickup*						CreatePickup(WDSPickup::PICKUP_TYPES Type, const math::Vec2& P);


	WDSPickup::PICKUP_TYPES			m_Type;
	std::vector<WDSPickup*>			m_Pickups;

};

#endif